package com.syxbyi._1list;

import java.io.Serializable;

public class Student implements Serializable {

    private static final long serialVersionUID = 386727936464739553L;
    private final String id;
    private String name;
    private int age;

    Student(String id, String name, int age) {
        this.name = name;
        this.age = age;
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }
}
